<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<!DOCTYPE html>
<html>

<head>
<title>恒铸智能柜管理平台</title>
<meta charset="utf-8">
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta http-equiv="Access-Control-Allow-Origin" content="*">
<meta name="viewport"
	content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="format-detection" content="telephone=no">
<link rel="stylesheet"
	href="${pageContext.request.contextPath}/resources/layui/css/layui.css"
	media="all" />
<link rel="stylesheet"
	href="${pageContext.request.contextPath}/resources/css/zTreeStyle.css"
	type="text/css">
<link rel="stylesheet"
	href="${pageContext.request.contextPath}/resources/css/demo.css"
	type="text/css">
<script type="text/javascript"
	src="${pageContext.request.contextPath}/resources/js/jquery-1.4.4.min.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/resources/js/jquery.ztree.core.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/resources/js/jquery.ztree.excheck.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/resources/layui/layui.js"></script>
<script type="text/javascript"
	src="${pageContext.request.contextPath}/resources/js/tree.js"></script>
</head>
<style type="text/css">
ul.log {
	border: 1px solid #e6e6e6;
	background: #ffffff;
	width: 188PX;
	overflow: hidden;
}
</style>
<body>
	<form class="layui-form" action="" onsubmit="javascript:;" name="form"
		method="post">
		<div class="content_wrap" style="float: left; width: 260px;">
			<div class="zTreeDemoBackground left">
				<ul id="treeDemo" class="ztree"></ul>
			</div>
		</div>

		<div style="float: left;">
			<div class="layui-form-item">
				<label class="layui-form-label">权限名称</label>
				<div class="layui-input-inline">
					<input type="text" name="auth_name" lay-verify="required"
						autocomplete="off" placeholder="请输入权限名称" class="layui-input">
				</div>
				<div class="layui-form-mid layui-word-aux"></div>
			</div>

			<div class="layui-form-item">
				<label class="layui-form-label">上级权限</label>
				<ul id="log_down" class="log small"></ul>
			</div>

			<div class="layui-form-item">
				<label class="layui-form-label">菜单地址</label>
				<div class="layui-input-inline">
					<input type="text" name="auth_url" lay-verify="required"
						autocomplete="off" placeholder="/home" class="layui-input"
						value="/">
				</div>
				<div class="layui-form-mid layui-word-aux"></div>
			</div>

			<div class="layui-form-item">
				<label class="layui-form-label">排序</label>
				<div class="layui-input-inline">
					<input type="text" name="sort" lay-verify="required"
						autocomplete="off" placeholder="999" class="layui-input">
				</div>
				<div class="layui-form-mid layui-word-aux"></div>
			</div>

			<input type="hidden" name="id" class="layui-input" id="id" value="0">

			<div class="layui-form-item">
				<div class="layui-input-block">
					<button class="layui-btn" lay-submit="" lay-filter="add">新增</button>
					<button class="layui-btn layui-btn-normal" lay-submit=""
						lay-filter="edit">修改</button>
					<a class="layui-btn layui-btn-danger" href="javascript:;" id="del"
						lay-submit="">删除</a>
					<button type="reset" class="layui-btn layui-btn-primary">重置</button>
				</div>
			</div>
		</div>
	</form>
	</div>
</body>

</html>